# -*- coding:utf-8 -*-
# File Name:ui_util.py
# Author:jing
# Date:2018/12/20
from tkinter import Text, END

from util.tk_util import BEGIN

__author__ = 'jing'


def rewrite(text: Text, content):
    text.delete(BEGIN, END)
    text.insert(BEGIN, content)
